package com.lagou.dao;
/*
 * PackageName: com.lagou.dao
 * ClassName:   IUserDao
 * Author:   zhang
 * Date:     Created in 2020/9/30
 * Description:
 * History:
 * <author>        <time>             <version>          <desc>
 * 作者姓名         修改时间            版本号              描述
 * zhang           2020/9/30      1.0
 */

import com.lagou.pojo.User;

import java.util.List;

/**
 * Title:
 * Project: IPersistence_test
 *
 * @author ZhangKe
 * Created on 2020/9/30
 */
public interface IUserDao {

    //查询所有用户
    public List<User> findAll() throws Exception;
    //根据条件进行用户查询
    public User findByCondition(User user) throws Exception;

    public int addOne(User user);

    public int deleteById(Integer id);

    public int updateById(User user);
}
